<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="__PUBLIC__/Admin/css/base.css" />
<link rel="stylesheet" href="__PUBLIC__/Admin/css/info-mgt.css" />
<link rel="stylesheet" href="__PUBLIC__/Admin/css/WdatePicker.css" />
    <style>
        .pagelist{
            width: 400px;
            height: 300px;
            /*border: 1px solid black;*/
            margin-top: 10px;
            margin-left: 900px;
        }
        .pagelist div{
            margin-top: 10px;
        }
      .current{
           display: inline-block;
           border: 1px solid #d7e1e7;
           width:20px;
           height: 20px;
           text-align: center;

          margin: 5px;
      }
        .pagelist .num{
             display: inline-block;
             border: 1px solid #D7E1E7;
             width:20px;
             height: 20px;
             margin: 5px;
             text-align: center;
        }


    </style>
<title>东莞大仓机械后台管理</title>
</head>

<body>
<div class="title"><h2>信息管理</h2></div>
<div class="table-operate ue-clear">
	<a href="addtype" class="add">添加</a>
    <a href="" class="del">删除</a>
    <a href="" class="edit">编辑</a>
</div>
<div class="table-box">
	<table>
    	<thead>
        	<tr>
            	<th class="num">序号</th>
                <th class="name">机械类型</th>
                <th class="time">备注</th>
                <th class="operate">操作</th>
            </tr>
        </thead>
        <volist name="list" id="l">
            <tbody>
            <tr>
                <td class="num">{$l.tid}</td>
                <td class="name">{$l.tname}</td>
                <td class="time">{$l.tcontent}</td>
                <td class="operate"><a href="getonetype?tid={$l.tid}">修改</a>
                    <a href="deletetype?tid={$l.tid}">删除</a>
                </td>
            </tr>
            </tbody>
        </volist>

    </table>
</div>
<!--<div class="pagination ue-clear"></div>-->
<div class="pagelist">
   {$page}
</div>

</body>
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/WdatePicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.pagination.js"></script>
<script type="text/javascript">
$(".select-title").on("click",function(){
	$(".select-list").hide();
	$(this).siblings($(".select-list")).show();
	return false;
})
$(".select-list").on("click","li",function(){
	var txt = $(this).text();
	$(this).parent($(".select-list")).siblings($(".select-title")).find("span").text(txt);
})

$('.pagination').pagination(100,{
	callback: function(page){
		alert(page);	
	},
	display_msg: true,
	setPageNo: true
});

$("tbody").find("tr:odd").css("backgroundColor","#eff6fa");

showRemind('input[type=text], textarea','placeholder');


</script>
</html>
